You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Dew.Math.Tee Namespace > Classes > MtxVecTee Class > MtxVecTee Methods > DrawIt Method > MtxVecTee.DrawIt Method (TVec[], string[], string, bool)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
MtxVecTee.DrawIt Method (TVec[], string[], string, bool)

Shows form with chart and array of fastline series - one for each vector in A array of vectors.

Syntax
C#
Visual Basic
public static void DrawIt(TVec[] a, string[] seriescaptions, string caption, bool pixeldownsample);
Parameters 
Description 
TVec[] a 
An array of source vectors. 
string[] seriescaptions 
An array describing each series(vector) title. 
string caption 
Form text. 
bool pixeldownsample 
If true, DrawIt will automatically use PixelDownSample method for series to reduce the number of points displayed (much faster display). 

Display three different vectors in the same chart.

Vector x1 = new Vector(0); Vector x2 = new Vector(0); Vector x3 = new Vector(0); x1.LoadFromFile("x1_data.vec"); x2.LoadFromFile("x2_data.vec"); x3.LoadFromFile("x3_data.vec"); MtxVecTee.DrawIt(new TVec[] {x1,x2,x3},new string[] {"1st","2nd","3rd"}, "Multiple values",false);
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!